Skip to content

feat(operator)!: add enriched entity logging scopes#1196

Merged
kimpenhaus merged 1 commit into
mainfrom
feature/logging-scope-enricher
Jul 14, 2026
Merged

feat(operator)!: add enriched entity logging scopes#1196
kimpenhaus merged 1 commit into
mainfrom
feature/logging-scope-enricher

Conversation

@kimpenhaus

Copy link
Copy Markdown
Collaborator

Summary

Introduce IEntityLoggingScopeFactory<TEntity> for creating structured entity logging scopes with optional enrichment. Update critical operator components (ResourceWatcher<TEntity>, EntityQueueBackgroundService<TEntity>, etc.) to accept the factory. Documentation and test updates ensure clarity on usage.

Breaking changes

  • Add IEntityLoggingScopeFactory<TEntity> to constructor parameters of watchers and queue services.
  • Custom constructors for these components must resolve and provide the factory.
  • New EntityLoggingScopeEnricherPipeline<TEntity> type for enriching scopes; automatically registered as no-op when no enrichers are present.

## Summary

Introduce `IEntityLoggingScopeFactory<TEntity>` for creating structured entity logging scopes with optional enrichment. Update critical operator components (`ResourceWatcher<TEntity>`, `EntityQueueBackgroundService<TEntity>`, etc.) to accept the factory. Documentation and test updates ensure clarity on usage.

## Breaking changes

- Add `IEntityLoggingScopeFactory<TEntity>` to constructor parameters of watchers and queue services.
- Custom constructors for these components must resolve and provide the factory.
- New `EntityLoggingScopeEnricherPipeline<TEntity>` type for enriching scopes; automatically registered as no-op when no enrichers are present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant